package util

import (
	"fmt"
	"strconv"
)

func StringToInt64(str string) (int64, error) {
	return strconv.ParseInt(str, 10, 64)
}

func IntToString(n int64) string {
	return fmt.Sprintf("%d", n)
}
